package com.hanbang.gycatering.bean;

import com.lidroid.xutils.db.annotation.Transient;

public class ShoppingCartData {

	/*
	 * 这里可以之定义注解 也可以用xutil的Transient 表示这个字段不被使用 调用者 public static boolean
	 * isTransient(Field field) { return field.getAnnotation(Transient.class) !=
	 * null; }
	 */
	@Transient
	boolean check = false;
	int goodsid;
	String goodsname;
	int count;
	String img;
	Double price;

	public int getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}

	public String getGoodsname() {
		return goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public boolean isCheck() {
		return check;
	}

	public void setCheck(boolean check) {
		this.check = check;
	}

}
